package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.WalletDao;
import com.fsj.admin.system.domain.WalletDO;
import com.fsj.admin.system.service.WalletService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class WalletServiceImpl implements WalletService {
	@Autowired
	private WalletDao walletDao;
	
	@Override
	public WalletDO get(Long id){
		return walletDao.get(id);
	}
	
	@Override
	public List<WalletDO> list(Map<String, Object> map){
		return walletDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return walletDao.count(map);
	}
	
	@Override
	public int save(WalletDO wallet){
		return walletDao.save(wallet);
	}
	
	@Override
	public int update(WalletDO wallet){
		return walletDao.update(wallet);
	}
	
	@Override
	public int remove(Long id){
		return walletDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return walletDao.batchRemove(ids);
	}
	
}
